# fio参数
# 要测试的对象, 支持多个
DIR_WORK = ["/mnt/fstest1", "/mnt/fstest2", "/mnt/fstest2"]
# 每个子目录的数量，影响task生成的数量。task数量=len(DIR_WORK) * SUB_DIR_NUM
SUB_DIR_NUM = 3
# 设置DIR_WORK是否同时进行IO
PARALLEL_IO = False
# 读写类型
IO_TYPES = ["read", "write", "randread", "randwrite", "rw,readwrite", "randrw"]
# 每个job对应的队列深度
IO_DEPTHS = [1, 4, 8, 16, 32, 64, 128, 265, 512]
# io大小
BLOCK_SIZES = ["128K"]
# 文件大小定义
FILE_SIZES = ["1M", "10M", "50M", "100M"]
# 进程数量
NUM_JOBS = 10
# 总共要写的文件数=(JOBS * NR_FILES)
NR_FILES = 200
# 单个任务要运行的时长(s)
RUN_TIME = 600
# 顺序混合读写时，读的占比(PCT)
RWMIXREAD = 70

# =========默认参数==========
# 输出目录
OUT_PUT_DIR = "./fio_output"
# 结果保存目录
TESTCASES_DIR = "./testcases"
# fio脚本默认模板名
JOB_TEMPLATE_NAME = "job_template.fio"
# 限制task数量. task数量必须为DIR_WORK的倍数
TASK_LIMIT = 100

